<template>
    <el-main>
        <el-main class="ep-body">
            <epl-top-bar :datas="{formData:form}" showPerson psTagType="PERSON_SIMPLE_GROUP"
                         personType="PERSON_ALL_EXACT">
            </epl-top-bar>
            <el-row :gutter="10">
                <epl-userGeneral dataType="person" idCount="9" colspan='12' :panel="panel" diff="1">
                </epl-userGeneral>
                <epl-userGeneral dataType="person" idCount="7" colspan='12' :panel1="panel1" diff="2">
                </epl-userGeneral>
            </el-row>
            <el-form :model="form" ref="form" :rules="rules">
            <el-card class="ep-card">
                <ep-title>请输入供养人员基本信息</ep-title>
                <el-row :gutter="10">
                    <!--<ep-input  colspan="8" label="姓名" name="aac003" :property="form.aac003" placeholder="请输入姓名"-->
                               <!--p="R" :datas="{formData: form }" rules="this.$rules.test_noBlank"></ep-input >-->
                    <!--<ep-select colspan="8" label="性别" name="aac004" :property="form.aac004" placeholder="请选择性别"-->
                               <!--p="R" :datas="{formData: form}" codetype="AAC004" rules="this.$rules.test_noBlank"></ep-select>-->
                    <!--<ep-select colspan="8" label="民族" name="aac005" :property="form.aac005" placeholder="请选择民族"-->
                               <!--p="R" :datas="{formData: form}" codetype="AAC005" rules="this.$rules.test_noBlank"></ep-select>-->
                </el-row>
                <el-row :gutter="10">
                    <!--<ep-date colspan="8" label="出生日期" name="aac006" :property="form.aac006" placeholder="请选择出生日期"-->
                             <!--p="R" :datas="{formData: form }" type="date" format="yyyy-MM-dd" rules="this.$localRules.DateCheck"></ep-date>-->
                    <ep-select colspan="8" label="户口性质" name="aac009" :property="form.aac009" placeholder="请选择户口性质"
                               p="R" :datas="{formData: form}" codetype="AAC009" rules="this.$rules.test_noBlank"></ep-select>
                    <ep-select colspan="8" label="失地标志" name="sdbz" :property="form.sdbz" placeholder="请选择失地标志"
                               p="R" :datas="{formData: form}" codetype="SDBZ" rules="this.$rules.test_noBlank"></ep-select>
                </el-row>
                <el-row :gutter="10">
                    <ep-select colspan="8" label="户口所在地址" name="bac030" :property="form.bac030"
                               placeholder="请选择省" codetype="BAE007" p="E"  :datas="{formData:form}" isChange isCodeType></ep-select>
                    <ep-select colspan="4" label="" label-width="0" name="bac031" :property="form.bac031"
                               placeholder="请选择市" codetype="BAE008" p="E" :datas="{formData: form}" isChange isCodeType
                               SelectFilterData=" aaa102 like substr(':bac030',0,2)||'%' and aaa102 like '%00' "></ep-select>
                    <ep-select colspan="4" label="" label-width="0" name="bac032" :property="form.bac032"
                               placeholder="请选择区县" codetype="BAE009" p="E" :datas="{formData: form}"
                               SelectFilterData=" aaa102 like substr(':bac031',0,4)||'%'" ></ep-select>
                    <ep-input colspan="8" label="" label-width="0" name="aac010" :property="form.aac010"
                              placeholder="请输入详细地址" p="E" :datas="{formData:form}"></ep-input>
                </el-row>
                <el-row :gutter="10">
                    <!--<ep-select colspan="8" label="供养关系" name="aae144" :property="form.aae144" placeholder="请选择供养关系"-->
                               <!--p="R" :datas="{formData: form}" codetype="AAE144" rules="this.$rules.test_noBlank"></ep-select>-->
                    <!--<ep-select colspan="8" label="孤寡标志" name="aac086" :property="form.aac086" placeholder="请选择孤寡标志"-->
                               <!--p="R" :datas="{formData: form}" codetype="AAC086" rules="this.$rules.test_noBlank"></ep-select>-->
                    <!--<ep-date colspan="8" label="满18岁年月" name="bic140" :property="form.bic140" placeholder="请选择满18岁年月"-->
                             <!--p="R" :datas="{formData: form }" type="date" format="yyyyMM"></ep-date>-->
                </el-row>
                <el-row :gutter="10">
                    <!--<ep-select colspan="8" label="完全丧失劳动能力标志" name="bic109" :property="form.bic109" placeholder="请选择完全丧失劳动能力标志"-->
                               <!--p="R" :datas="{formData: form}" codetype="BIC109" rules="this.$rules.test_noBlank"></ep-select>-->
                    <ep-input  colspan="8" label="发放比例" name="ffbl" :property="form.ffbl" placeholder="请输入发放比例"
                               p="R" :datas="{formData: form }" rules="this.$rules.test_noBlank"></ep-input >
                </el-row>
                <el-row :gutter="10">
                    <ep-select colspan="8" label="发放机构地" name="bac030s" :property="form.bac030s"
                               placeholder="请选择省" codetype="BAE007" p="E"  :datas="{formData:form}" isChange isCodeType></ep-select>
                    <ep-select colspan="4" label="" label-width="0" name="bac031s" :property="form.bac031s"
                               placeholder="请选择市" codetype="BAE008" p="E" :datas="{formData: form}" isChange isCodeType
                               SelectFilterData=" aaa102 like substr(':bac030s',0,2)||'%' and aaa102 like '%00' "></ep-select>
                    <ep-select colspan="4" label="" label-width="0" name="bac032s" :property="form.bac032s"
                               placeholder="请选择区县" codetype="BAE009" p="E" :datas="{formData: form}"
                               SelectFilterData=" aaa102 like substr(':bac031s',0,4)||'%'" ></ep-select>
                    <ep-input colspan="8" label="" label-width="0" name="aac010s" :property="form.aac010s"
                              placeholder="请输入详细地址" p="E" :datas="{formData:form}"></ep-input>
                </el-row>
                <el-row :gutter="10">
                    <ep-input colspan="8" label="联系人姓名" name="aae004" :property="form.aae004" p="R"
                              :datas="{formData:form}" placeholder="请输入联系人姓名" rules="this.$rules.test_noBlank"></ep-input>
                    <ep-input colspan="8" label="联系电话" name="aae005" :property="form.aae005" p="R"
                              :datas="{formData:form}" placeholder="请输入联系电话" rules="this.$rules.telephone"></ep-input>
                </el-row>
                <el-row :gutter="10">
                    <ep-select colspan="8" label="联系地址" name="bae011" :property="form.bae011"
                               placeholder="请选择省" codetype="BAE007" p="E"  :datas="{formData:form}" isChange isCodeType></ep-select>
                    <ep-select colspan="4" label="" label-width="0" name="bae012" :property="form.bae012"
                               placeholder="请选择市" codetype="BAE008" p="E" :datas="{formData: form}" isChange isCodeType
                               SelectFilterData=" aaa102 like substr(':bae011',0,2)||'%' and aaa102 like '%00' "></ep-select>
                    <ep-select colspan="4" label="" label-width="0" name="bae013" :property="form.bae013"
                               placeholder="请选择区县" codetype="BAE009" p="E" :datas="{formData: form}"
                               SelectFilterData=" aaa102 like substr(':bae012',0,4)||'%'" ></ep-select>
                    <ep-input colspan="8" label="" label-width="0" name="aae006" :property="form.aae006"
                              placeholder="请输入详细地址" p="E" :datas="{formData:form}"></ep-input>
                </el-row>
                <el-row>
                    <ep-textarea :rows="3" label="备注" name="aae013" :property="form.aae013" placeholder="请输入备注信息"
                                 p="E" :datas="{formData: form}"></ep-textarea>
                </el-row>

                <ep-title>请输入供养遗属发放信息</ep-title>
                    <el-row :gutter="10">
                        <ep-select colspan="8" label="发放银行" name="aaz065" :property="form.aaz065" placeholder="请选择发放银行"
                                   p="R" :datas="{formData: form}" codetype="AAZ065" rules="this.$rules.test_noBlank"></ep-select>
                        <ep-input  colspan="8" label="银行账号" name="aae010" :property="form.aae010" placeholder="请输入银行账号"
                                   p="R" :datas="{formData: form }" rules="this.$rules.test_noBlank"></ep-input >
                        <ep-input  colspan="8" label="银行开户名" name="aae009" :property="form.aae009" placeholder="请输入银行开户名"
                                   p="R" :datas="{formData: form }" rules="this.$rules.test_noBlank"></ep-input >
                    </el-row>
                    <el-row :gutter="10">
                        <epl-search-bank colspan="8" label="新开户行行号" name="aaf002" :property="form.aaf002" placeholder="请选择新开户行行号"
                                         p="R" :datas="{formData: form}" codetype="AAZ065" bankName="aaz065" show rules="this.$rules.test_noBlank"></epl-search-bank>
                        <ep-input  colspan="16" label="开户银行名称" name="bac049" :property="form.bac049"
                                   p="D" :datas="{formData: form }" rules="this.$rules.test_noBlank"></ep-input >
                        <ep-input colspan="8" label="邮政编码"  name="aae007" :property="form.aae007" p="H"
                                  :datas="{formData:form}"></ep-input>
                        <ep-input colspan="8" label="邮政地址"  name="aae006s" :property="form.aae006s" p="H"
                                  :datas="{formData:form}"></ep-input>
                    </el-row>
                    <el-row type="flex" justify="center">
                        <ep-saveButton id="doSave" type="primary" top="20" bottom="20" ref="save" @formValidate="formValidate"
                                       :validate="['form']"
                                       :datas="{formData: form,panel:panel,panel1:panel1}"></ep-saveButton>
                    </el-row>
            </el-card>
            </el-form>
        </el-main>
    </el-main>
</template>

<script src="../js/DependantsArchivesChangeJS.js"></script>
